Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal header As String, _ ByVal ParamArray regexMatch() As String _ ) |
C# | |
---|---|
public HttpHeaderBindingAttribute( string header, params string[] regexMatch ) |
Parameters
- header
- The HTTP header to bind the attribute to, i.e. "Accept"
- regexMatch
- One or More regular expressions that match a specific pattern in the HTTP header, i.e. "^(?<=text/|application/)xml"
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7